package com.sduept.i1.model;

// 杆塔倾斜数据报
public class TowerTiltData {
	public static short msgLen = 41;
	// 17 4 4 4 4 4 4
	
	private String componentId; // 被检测数据
	private int timeStamp; // 采集时间
	private float inclination; // 倾斜度
	private float inclinationX; // 顺线倾斜度
	private float inclinationY; // 横向倾斜度
	private float angleX; // 顺线倾斜角
	private float angleY; // 横向倾斜角
	
	public String getComponentId() {
		return componentId;
	}
	
	public void setComponentId(String componentId) {
		this.componentId = String.format("%-17s", componentId);
	}
	
	public int getTimeStamp() {
		return timeStamp;
	}
	
	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}
	
	public float getInclination() {
		return inclination;
	}
	
	public void setInclination(float inclination) {
		this.inclination = inclination;
	}
	
	public float getInclinationX() {
		return inclinationX;
	}
	
	public void setInclinationX(float inclinationX) {
		this.inclinationX = inclinationX;
	}
	
	public float getInclinationY() {
		return inclinationY;
	}
	
	public void setInclinationY(float inclinationY) {
		this.inclinationY = inclinationY;
	}
	
	public float getAngleX() {
		return angleX;
	}
	
	public void setAngleX(float angleX) {
		this.angleX = angleX;
	}
	
	public float getAngleY() {
		return angleY;
	}
	
	public void setAngleY(float angleY) {
		this.angleY = angleY;
	}
}
